﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Generar.aspx.cs" Inherits="Backup_Generar" Title="Generar Backup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager>
    &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
    <table width="100%">
        <tr>
            <td class="tdTit" colspan="4" style="width: 100%; height: 18px">Backup</td>
        </tr>
        <tr>
            <td class="tdForm" colspan="4" style="width: 100%; text-align: center">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center" class="tdForm" colspan="4" style="width: 100%; text-align: center">
                <asp:Button ID="btnGenerar" runat="server" OnClick="btnGenerar_Click" Text="Generar" Width="75px" /></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="4" style="width: 100%; text-align: center; height: 17px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="center" class="tdForm" colspan="4" style="width: 100%; text-align: center; height: 139px;">
                <asp:GridView ID="gBackup" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    ForeColor="#333333" GridLines="Vertical"
                    Width="100%" OnSelectedIndexChanged="gBackup_SelectedIndexChanged">
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                    <Columns>
                        <asp:TemplateField HeaderText="Fecha">
                            <ItemTemplate>
                                <asp:Label ID="Fecha" runat="server" Text='<%# Bind("Fecha") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle ForeColor="White" />
                        </asp:TemplateField>
                        <asp:ButtonField ButtonType="Button" Text="Descargar"/>
                        <asp:ButtonField ButtonType="Button" Text="Eliminar" />
                    </Columns>
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#325FB9" Font-Bold="True" Font-Names="Arial Rounded MT Bold"
                        ForeColor="White" />
                    <AlternatingRowStyle BackColor="Gainsboro" />
                </asp:GridView>
            </td>
        </tr>



    </table>
</asp:Content>

